package org.oims.simpleserver.entities.db;

import java.util.Calendar;

public class FriendChatListItem {
    private String own;
    private String to;
    private int status;
    private int unreceivedNum;
    private Calendar ctime;

    public FriendChatListItem() {
    }

    public FriendChatListItem(String own, String to, int status) {
        this.own = own;
        this.to = to;
        this.status = status;
        this.ctime = Calendar.getInstance();
    }

    public FriendChatListItem(String own, String to, int status, Calendar ctime, int unreceivedNum) {
        this.own = own;
        this.to = to;
        this.status = status;
        this.ctime = ctime;
        this.unreceivedNum = unreceivedNum;
    }

    public String getOwn() {
        return own;
    }

    public void setOwn(String own) {
        this.own = own;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getUnreceivedNum() {
        return unreceivedNum;
    }

    public void setUnreceivedNum(int unreceivedNum) {
        this.unreceivedNum = unreceivedNum;
    }

    public Calendar getCtime() {
        return ctime;
    }

    public void setCtime(Calendar ctime) {
        this.ctime = ctime;
    }
}
